var events = require('./4.events2')
var emitter = new events.EventEmitter();
emitter.on('event1',function () {
   console.log('this is the event1')
})


emitter.on('event2',function () {
    console.log('this is the event2')
})

emitter.emit('event2')
